<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition template="/template/internet-template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://xmlns.jcp.org/jsf/html">
    <ui:define name="title">Álbum</ui:define>
    <ui:define name="container">
        <h:panelGroup rendered="${albumManagedBean.viewState == 1}">
            <ui:include src="list.xhtml"/>
        </h:panelGroup>
        <h:panelGroup rendered="${albumManagedBean.viewState == 2}">
            <ui:include src="form.xhtml"/>
        </h:panelGroup>   
    </ui:define>

</ui:composition>

